﻿using System.Data.Entity.ModelConfiguration;

namespace BookShop.DTO.Mapping 
{
    public class AuthorMap : EntityTypeConfiguration<Author>
    {
        public AuthorMap()
        {
            HasKey(a => a.Id);
            ToTable("Author");
        }
    }
}
